package com.jdaoyun.a_preAid.entity;

import java.util.Date;

import lombok.Data;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * (XctiCallrecord)通话记录表
 *
 * @author makejava
 * @since 2025-08-20 20:17:17
 */
@Data
@TableName("xcti_callrecord")
public class XctiCallrecord implements Serializable {
    private static final long serialVersionUID = -93916238623317600L;


    @TableId
    private Integer id;


    @TableField("callid")
    private String callid;


    @TableField("timestart")
    private Date timestart;


    @TableField("callfrom")
    private String callfrom;


    @TableField("callto")
    private String callto;


    @TableField("callduraction")
    private Double callduraction;


    @TableField("talkduraction")
    private Double talkduraction;


    /**
     * 电话状态，NOANSWER，NOAGENT未接，ANSWERED已接
     */
    @TableField("status")
    private String status;


    /**
     * 呼入类型
     */
    @TableField("type")
    private String type;


    /**
     * 录音文件
     */
    @TableField("recording")
    private String recording;


    /**
     * 设备号
     */
    @TableField("sn")
    private String sn;


    @TableField("createtime")
    private Date createtime;


    /**
     * 分机号
     */
    @TableField("extid")
    private String extid;


    /**
     * 电话挂断原因
     */
    @TableField("callEndReasonId")
    private Integer callEndReasonId;


    @TableField("tenantId")
    private Integer tenantId;


}

